STEP 9: Let's finish this dance move and place the function call at the bottom of the program.

  • Use two Flip Up Down commands and Wait to have the sprite flip, wait 1 second, and flip back.
  • In LOGIC, go to and drop Function Call to the bottom of your program, BELOW the line that calls headstand().
  • Change the function name in the call line to sway().

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)